import React, {Component} from "react";
import { Input } from 'antd';
const { Search } = Input;

class SearchMenu extends Component {
    render() {
        return (
            <div className="search-box">
                <Search placeholder="input search text" onSearch={onSearch} enterButton />
            </div>
        )
    }
}

const onSearch = value => console.log(value);

export default SearchMenu;
